package com.yxw.yx_hotel.dto;

import com.yxw.yxnet_cd_center.common.dto.BaseDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * 在住名单查询Dto
 * @author liuxin
 * @date 2023.0913
 */
@EqualsAndHashCode(callSuper = false)
@Data
@ToString(callSuper=true)
@ApiModel(value="QueryInWaitDto", description="在住名单查询Dto")
public class QueryInWaitDto extends BaseDTO {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "员工姓名")
    private String userName;

    @ApiModelProperty(value = "部门名称")
    private String deptName;

    @ApiModelProperty(value = "宿舍名称")
    private String roomName;

    @ApiModelProperty(value="实际入住时间始")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date inTimeStart;

    @ApiModelProperty(value="=实际入住时间止")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date inTimeEnd;

    @ApiModelProperty(value="入住时间始")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date stayTimeStart;

    @ApiModelProperty(value="=入住时间止")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date stayTimeEnd;

    @ApiModelProperty(value = "押金缴纳状态 0：不需缴纳 1：已缴纳 2：未缴纳")
    private Integer payStatus;

    @ApiModelProperty(value = "员工状态 1：实习 2：正式 3：临时")
    private Integer userState;
}
